#include <iostream>
using namespace std;

int main() {
    double a, b;
    double target;

    // 输入两个数字
    cout << "请输入第一个数字 (a): ";
    cin >> a;
    cout << "请输入第二个数字 (b): ";
    cin >> b;

    // 计算两数之和
    target = a + b;

    // 输出结果
    cout << "Indices: [0, 1]" << endl;

    // 验证结果是否正确
    cout << "验证: nums[0] + nums[1] = " << a << " + " << b 
         << " = " << target << endl;

    return 0;
} 